package cn.tedu.finance.mapper;

import cn.tedu.finance.pojo.dto.PaymentQuery;
import cn.tedu.finance.pojo.dto.PaymentSaveParam;
import cn.tedu.finance.pojo.vo.PaymentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PaymentMapper {
    List<PaymentVO> selectPayment(PaymentQuery paymentQuery);

    void savePayment(PaymentSaveParam paymentSaveParam);

    void cancelPayment(Long id);
}
